package com.hmall.service;

import com.hmall.common.dto.PageDTO;
import com.hmall.pojo.ItemDoc;
import com.hmall.pojo.RequestParams;

import java.io.IOException;

public interface SearchService {

    PageDTO<ItemDoc> search(RequestParams params) throws IOException;

    void saveItemById(Long id);

    void deleteItemById(Long id);
}
